#!/usr/bin/env python
# coding=utf-8

f = open("./test_o.dat","r");
g = open("./rec.dat","r");
flist = f.readlines();
glist = g.readlines();
for i in range(0,len(flist),1) :
    if(flist[i] == glist[i]):
        print "true";
    else :
        print "false"
f.close();
g.close();
